#!/bin/bash

echo province/* | \
sed 's/province\/\([^.]*\)\.csv/\1\n/g' | \
sed 's/ //g' | \
sed '/^$/d' |\
sort >/tmp/wmj_sort

sed -n '/.*市$/p' /tmp/wmj_sort > sorted
sed -n '/.*市$/!p' /tmp/wmj_sort >> sorted

